package com.bluedot.bank.action;

import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

import com.opensymphony.xwork2.ActionSupport;


public class CountryAction extends ActionSupport {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Map<String, List<String>> citiesMap = new LinkedHashMap<String, List<String>>();
	{
		citiesMap.put("中国", Arrays.asList(new String[] { "北京", "河北", "上海" }));
		citiesMap.put("美国", Arrays.asList(new String[] { "纽约", "芝加哥", "夏威夷" }));
		citiesMap.put("英国", Arrays.asList(new String[] { "伦敦", "不知道", "我和热" }));
	}
	/**
	 * @return the citiesMap
	 */
	public Map<String, List<String>> getCitiesMap() {
		return citiesMap;
	}
	/**
	 * @param citiesMap the citiesMap to set
	 */
	public void setCitiesMap(Map<String, List<String>> citiesMap) {
		this.citiesMap = citiesMap;
	}
	@Override
	public String execute() throws Exception {
		
		return SUCCESS;
	}

}
